package com.haofengsoft.scce.db.biz.consultation;

import android.content.Context;
import com.haofengsoft.scce.ManageApplication;
import com.haofengsoft.scce.db.DaoSession;
import com.haofengsoft.scce.db.dao.consultation.GuestColumnDao;

/**
 * Created by admin on 2015/7/26.
 */
public class InvestmentTipBiz {
    private static InvestmentTipBiz instance;
    private static Context appContext;
//    private GuestColumnDao dao;

    private InvestmentTipBiz() {
    }

    public static InvestmentTipBiz getInstance(Context context) {
        if (instance == null) {
            instance = new InvestmentTipBiz();
            if (appContext == null) {
                appContext = context.getApplicationContext();
            }
//            DaoSession daoSession = ManageApplication.getDaoSession(context);
//            instance.dao = daoSession.getGuestColumnDao();
        }
        return instance;
    }

}
